package com.service.infoEntry.service;

import com.service.config.utils.Result;
import com.service.infoEntry.dto.CalendarDto;
import com.service.infoEntry.entity.CalendarInfo;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author ：hjl
 * @date ：Created in 2021/11/10 17:24
 * @description：
 */
public interface CalendarService {
    void addEvent(CalendarDto calendarDto);

    Result updateEvent(CalendarDto calendarDto);

    Result deleteEvent(String eventId,String userId);

    List<Map<String,Object>> queryEventByDate(String teamId, Date date,String userId);

}
